#pragma once

/*高精度计时器*/
class HighResolutionTimer
{
private:
	/*频率*/
	__int64 frequency;
public:
	HighResolutionTimer(bool );

	virtual ~HighResolutionTimer();

	/*获取当前时间*/
	__int64 getNow();

	/*获取计数器*/
	__int64 getCounter(__int64 );

	__int64 getMS(__int64);
};